<script setup lang="ts">
import {onMounted} from "vue";
import {useRoute} from "vue-router";
import {PayResult} from "@/service/pay.ts";
const route = useRoute();

onMounted(async ()=>{
  const data = route.query;
  await PayResult(data)
})
</script>

<template>
  <div>
    <p>支付成功</p>
  </div>
</template>

<style scoped>

</style>